home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / pkgproto.z / pkgproto
Text File  |  1998-10-20  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4. ppppkkkkggggpppprrrroooottttoooo((((1111))))                                                        ppppkkkkggggpppprrrroooottttoooo((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo - generate a _pppp_rrrr_oooo_tttt_oooo_tttt_yyyy_pppp_eeee file
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo [_----_iiii] [_----_cccc _c_l_a_s_s] [_p_a_t_h_1[_====_p_a_t_h_2] . . . ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo scans the indicated paths and generates a _pppp_rrrr_oooo_tttt_oooo_tttt_yyyy_pppp_eeee file that
  16.      may be used as input to the _pppp_kkkk_gggg_mmmm_kkkk command.
  17.  
  18.      _----_iiii        Ignores symbolic links and records the paths as _ffff_tttt_yyyy_pppp_eeee_====_ffff (a
  19.                file) versus _ffff_tttt_yyyy_pppp_eeee_====_ssss(symbolic link)
  20.  
  21.      _----_cccc        Maps the class of all paths to _c_l_a_s_s.
  22.  
  23.      _p_a_t_h_1     Path of directory where objects are located.
  24.  
  25.      _p_a_t_h_2     Path that should be substituted on output for _p_a_t_h_1.
  26.  
  27.      If no paths are specified on the command line, standard input is assumed
  28.      to be a list of paths.  If the path listed on the command line is a
  29.      directory, the contents of the directory are searched.  However, if input
  30.      is read from _ssss_tttt_dddd_iiii_nnnn, a directory specified as a path will not be searched.
  31.  
  32.      The _pppp_rrrr_oooo_tttt_oooo_yyyy_pppp_eeee file attributes _mmmm_aaaa_cccc, _ffff_iiii_xxxx_eeee_dddd, and _iiii_nnnn_hhhh_eeee_rrrr_iiii_tttt_eeee_dddd, cannot be
  33.      determined by _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo;  to add these attributes to the _pppp_rrrr_oooo_tttt_oooo_tttt_yyyy_pppp_eeee file,
  34.      you must add them to the file manually.  See _pppp_rrrr_oooo_tttt_oooo_tttt_yyyy_pppp_eeee(4).
  35.  
  36. NNNNOOOOTTTTEEEESSSS
  37.      By default, _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo creates symbolic link entries for any symbolic link
  38.      encountered (_ffff_tttt_yyyy_pppp_eeee_====_ssss).  When you use the _----_iiii option, _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo creates a
  39.      file entry for symbolic links (_ffff_tttt_yyyy_pppp_eeee_====_ffff).  The _pppp_rrrr_oooo_tttt_oooo_tttt_yyyy_pppp_eeee file must be
  40.      edited to assign file types such as _vvvv (volatile), _eeee (editable), or _xxxx
  41.      (exclusive directory).  _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo detects linked files.  If multiple files
  42.      are linked together, the first path encountered is considered the source
  43.      of the link.
  44.  
  45. EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  46.      The following two examples show uses of _pppp_kkkk_gggg_pppp_rrrr_oooo_tttt_oooo and a partial listing of
  47.      the output produced.
  48.  
  49.      Example 1:
  50.           $ pkgproto /usr/bin=bin /usr/usr/bin=usrbin /etc=etc
  51.           f none bin/sed=/bin/sed 0775 bin bin
  52.           f none bin/sh=/bin/sh 0755 bin daemon
  53.           f none bin/sort=/bin/sort 0755 bin bin
  54.           f none usrbin/sdb=/usr/bin/sdb 0775 bin bin
  55.           f none usrbin/shl=/usr/bin/shl 4755 bin bin
  56.           d none etc/master.d 0755 root daemon
  57.           f none etc/master.d/kernel=/etc/master.d/kernel 0644 root daemon
  58.           f none etc/rc=/etc/rc 0744 root daemon
  59.      Example 2:
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ppppkkkkggggpppprrrroooottttoooo((((1111))))                                                        ppppkkkkggggpppprrrroooottttoooo((((1111))))
  71.  
  72.  
  73.  
  74.           $ find / -type d -print | pkgproto
  75.           d none / 755 root root
  76.           d none /usr/bin 755 bin bin
  77.           d none /usr 755 root root
  78.           d none /usr/bin 775 bin bin
  79.           d none /etc 755 root root
  80.           d none /tmp 777 root root
  81. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  82.      _pppp_kkkk_gggg_mmmm_kkkk(1), _pppp_kkkk_gggg_pppp_aaaa_rrrr_aaaa_mmmm(1), _pppp_kkkk_gggg_tttt_rrrr_aaaa_nnnn_ssss(1).
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.                                                                         PPPPaaaaggggeeee 2222
  128.  
  129.  
  130.  
  131.